package www.haoxiaozi.com.game;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-12-08
 * Time: 15:29
 */
//游戏主启动类
public class StartGame extends JFrame {
    public static void main(String[] args) {
        JFrame frame = new JFrame("贪吃蛇小游戏");

        frame.setBounds(250,100,900,720);
        frame.setVisible(true);//设置窗口可见
        frame.setResizable(false);//设置窗口大小不可变
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    }
}
